package net.wanho.mapper;

import net.wanho.po.AuthInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.wanho.vo.AuthVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 王洋
* @description 针对表【auth_info(权限表)】的数据库操作Mapper
* @createDate 2024-09-03 17:43:36
* @Entity net.wanho.po.AuthInfo
*/
@Mapper
public interface AuthInfoMapper extends BaseMapper<AuthInfo> {

    List<AuthVO> selectByUserId(Integer userId);

    List<Integer> selectByRoleId(Integer roleId);

    void deleteByRoleId(Integer roleId);
}




